process.env.NODE_ENV = process.env.NODE_ENV || 'development';

const mongoose = require('./config/mongoose');
const express = require('./config/express');

const db = mongoose();
const app = express();

app.listen(3001, () => {
  console.log('Server running at http://localhost:3001');
});
